CSS can be applied in three ways:
- Inline CSS → Added directly to an element using the style attribute.
- Internal CSS → Defined inside a <style> tag within the <head> of an HTML file.
- External CSS → Written in a separate .css file and linked to HTML using link.